package com.it.park.model;

import java.io.Serializable;
import java.util.Date;

import com.it.park.rms.client.model.User;

public class Question implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

	private String questionTitle;

	private String questionDetail;

	private Integer questionClick;

	private Integer questionCollection;

	private Integer questionAbout;

	private Integer questionIntegral;

	private Integer questionTypeId;

	private Date createDate;

	private Integer userId;

	private Integer questionLevel;

	private Integer isFin;

	private String questionKeyword;
	
	private Integer questionAnswerCount;
	
	private User user;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getQuestionTitle() {
		return questionTitle;
	}

	public void setQuestionTitle(String questionTitle) {
		this.questionTitle = questionTitle == null ? null : questionTitle
				.trim();
	}

	public String getQuestionDetail() {
		return questionDetail;
	}

	public void setQuestionDetail(String questionDetail) {
		this.questionDetail = questionDetail == null ? null : questionDetail
				.trim();
	}

	public Integer getQuestionClick() {
		return questionClick;
	}

	public void setQuestionClick(Integer questionClick) {
		this.questionClick = questionClick;
	}

	public Integer getQuestionCollection() {
		return questionCollection;
	}

	public void setQuestionCollection(Integer questionCollection) {
		this.questionCollection = questionCollection;
	}

	public Integer getQuestionAbout() {
		return questionAbout;
	}

	public void setQuestionAbout(Integer questionAbout) {
		this.questionAbout = questionAbout;
	}

	public Integer getQuestionIntegral() {
		return questionIntegral;
	}

	public void setQuestionIntegral(Integer questionIntegral) {
		this.questionIntegral = questionIntegral;
	}

	public Integer getQuestionTypeId() {
		return questionTypeId;
	}

	public void setQuestionTypeId(Integer questionTypeId) {
		this.questionTypeId = questionTypeId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getQuestionLevel() {
		return questionLevel;
	}

	public void setQuestionLevel(Integer questionLevel) {
		this.questionLevel = questionLevel;
	}

	public Integer getIsFin() {
		return isFin;
	}

	public void setIsFin(Integer isFin) {
		this.isFin = isFin;
	}

	public String getQuestionKeyword() {
		return questionKeyword;
	}

	public void setQuestionKeyword(String questionKeyword) {
		this.questionKeyword = questionKeyword == null ? null : questionKeyword
				.trim();
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getQuestionAnswerCount() {
		return questionAnswerCount;
	}

	public void setQuestionAnswerCount(Integer questionAnswerCount) {
		this.questionAnswerCount = questionAnswerCount;
	}

	
}